<template>
	<div><h1>重定向页面</h1></div>
</template>

<script>
export default {
	created() {
		const {params, query} = this.$route;
		const {path} = params;
		this.$router.replace({path: '/' + path, query});
	},
	render(h) {
		return h(); // Avoid warning message
	},
};
</script>
